﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shumei.EFCore.Model
{
    /// <summary>
    /// 课程订阅的表
    /// </summary>
    public class Course_Study
    {
        [Key]
        public int Id { get; set; }

        //观看的课程
        public virtual Course course { get; set; }

        //订阅人
        public virtual User user { get; set; }

        public DateTime SubscriberTime { get; set; }
    }
}
